package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.bean.wd_apartment_layout;
import com.dao.wd_apartment_layoutMapper;
import com.service.Apartment_LayoutService;
@Service
public class Apartment_LayoutServiceImpl implements Apartment_LayoutService{
	@Autowired
    @Qualifier("wd_apartment_layoutMapper")
	private wd_apartment_layoutMapper apartment_layoutDao;
	
	public int deleteByPrimaryKey(String apartmentLayoutId) {
		// TODO Auto-generated method stub
		return apartment_layoutDao.deleteByPrimaryKey(apartmentLayoutId);
	}

	public int insert(wd_apartment_layout record) {
		// TODO Auto-generated method stub
		return apartment_layoutDao.insert(record);
	}

	public int insertSelective(wd_apartment_layout record) {
		// TODO Auto-generated method stub
		return apartment_layoutDao.insertSelective(record);
	}

	public wd_apartment_layout selectByPrimaryKey(String apartmentLayoutId) {
		// TODO Auto-generated method stub
		return apartment_layoutDao.selectByPrimaryKey(apartmentLayoutId);
	}

	public int updateByPrimaryKeySelective(wd_apartment_layout record) {
		// TODO Auto-generated method stub
		return apartment_layoutDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(wd_apartment_layout record) {
		// TODO Auto-generated method stub
		return apartment_layoutDao.updateByPrimaryKey(record);
	}

	public List<wd_apartment_layout> selectAll() {
		// TODO Auto-generated method stub
		return apartment_layoutDao.selectAll();
	}

}
